/*
 * @Author: hrg
 * @Date: 2024-01-31 16:08:52
 * @LastEditTime: 2024-02-20 15:01:36
 * @FilePath: \study_go\study09_gin\gin_dome_05\main.go
 * @Description:  下载文件
 */
package main

import (
	"github.com/gin-gonic/gin"
)

func main() {
	// 创建路由
	r := gin.New()

	r.GET("/test", test)

	r.Run(":9090")

}

func test(c *gin.Context) {
	c.File("./scr/bizhub_C227_C287.zip")

}
